home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / CPU.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  41 lines

  1. /* $Id: cpu.h,v 1.2 1998/05/01 01:35:49 ralf Exp $
  2.  * cpu.h: Values of the PRId register used to match up
  3.  *        various MIPS cpu types.
  4.  *
  5.  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
  6.  */
  7. #ifndef _MIPS_CPU_H
  8. #define _MIPS_CPU_H
  9.  
  10. /*
  11.  * Assigned values for the product ID register.  In order to detect a
  12.  * certain CPU type exactly eventually additional registers may need to
  13.  * be examined.
  14.  */
  15. #define PRID_IMP_R2000    0x0100
  16. #define PRID_IMP_R3000    0x0200
  17. #define PRID_IMP_R6000    0x0300
  18. #define PRID_IMP_R4000    0x0400
  19. #define PRID_IMP_R6000A   0x0600
  20. #define PRID_IMP_R10000   0x0900
  21. #define PRID_IMP_R4300    0x0b00
  22. #define PRID_IMP_R8000    0x1000
  23. #define PRID_IMP_R4600    0x2000
  24. #define PRID_IMP_R4700    0x2100
  25. #define PRID_IMP_R4640    0x2200
  26. #define PRID_IMP_R4650    0x2200        /* Same as R4640 */
  27. #define PRID_IMP_R5000    0x2300
  28. #define PRID_IMP_SONIC    0x2400
  29. #define PRID_IMP_MAGIC    0x2500
  30. #define PRID_IMP_RM7000   0x2700
  31. #define PRID_IMP_NEVADA   0x2800        /* RM5260 ??? */
  32.  
  33. #define PRID_IMP_UNKNOWN  0xff00
  34.  
  35. #define PRID_REV_R4400    0x0040
  36. #define PRID_REV_R3000A   0x0030
  37. #define PRID_REV_R3000    0x0020
  38. #define PRID_REV_R2000A   0x0010
  39.  
  40. #endif /* !(_MIPS_CPU_H) */
  41.